package cn.edu.scau.cmi.lintianwei.client;

import cn.edu.scau.cmi.lintianwei.interProgramming.*;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class InterProgrammingClients extends Application{
	public static void main(String[] args) {
		launch(args);
	}

	@Override
	public void start(Stage primaryStage) throws Exception {
		try {
			Parent root = FXMLLoader.load(getClass().getResource("/cn/edu/scau/cmi/lintianwei/interProgramming/GUI.fxml"));
			Scene scene = new Scene(root, 400, 300);
			primaryStage.setScene(scene);
			primaryStage.sizeToScene();
			primaryStage.setTitle("AdapterModel");
			primaryStage.show();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
